
<div ng-controller="CarOwnerCtrl">
	
<div ng-include="'/templates/paramsSelect.html'"></div>
	<div class="page-heading">
		<ul class="breadcrumb">
			<li><a href="javascript:;">报表管理</a></li>
			<li><a href="javascript:;">维修报表</a></li>
			<li class="active" ng-hide="menuName">车主车辆信息查询</li>
			<li class="active" ng-show="menuName" ng-bind="menuName"></li>
			<span style="margin-right:10px;"  class="btn btn-danger btn-xs pull-right btn-flag " ng-show="flag" ng-click="delFlag('/carowner/carowner/')"><i class="fa fa-times"></i> 删除 </span>
			<span style="margin-right:10px;"  class="btn btn-info btn-xs pull-right btn-flag " ng-click="addFlag('#/repair/carowner/')"><i class="fa fa-star"></i> 收藏 </span>
		
		</ul>
	</div>
	<!-- 页面头部  end-->

	<!--页面内容显示区域-->
	<div class="wrapper">


		<div class="row">
			<div class="col-sm-12">
				<!--表格显示区域-->
				<section class="panel">
					<!--区块头 显示表格名称和功能按钮-->
					<header class="panel-heading">
						车主车辆信息查询条件
						<!--控制按钮-->
						<span class="tools pull-right"> <!--收起-->
							<button type="button" class="btn btn-success pull-left" ng-click="SearchData()" 
							style="margin-left: 5px;">
								<i class="fa fa-search"></i> 查询
							</button>
							<button type="button" class="btn btn-info  pull-left" ng-click="ExportData()" 
							style="margin-left: 5px;">
								<i class="fa fa-table"></i> 导出EXCEL
							</button> <a href="javascript:;" class="fa fa-chevron-up form_display"></a>

						</span>
					</header>
					<!--区块body 显示表格内容-->
					<div class="panel-body form-horizontal form_hide">
						<div class="row">
                        	<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">事业部</label>
										<div class="col-lg-8 col-sm-7">
										<input type="text" id="group_name" ng-keyup="clearGroup()" name="group_name"   class="form-control select_edit form_params" />
                                            <ul class="select_list">
                                                  <li ng-repeat="e in groups" ng-click='LoadBrands(e.group_name)' val_code="{{e.group_name}}" val_name="{{e.group_name}}">{{e.group_name}}</li>
                                            </ul>  
                                            </div>
								</div>
							</div>
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">店面品牌</label>
									<div class="col-lg-8 col-sm-7">
										<input type="text" id="entity_brand_name"   ng-keyup="clearGroupBrand()" name="entity_brand_name" class="form-control select_edit form_params" value=""/>
                                            <ul class="select_list">
                                                  <li ng-repeat="e in gBrands" ng-click='LoadEntitys(e)' val_code="{{e.brand_code}}" val_name="{{e.brand_name}}">{{e.brand_name}}</li>
                                            </ul> 
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">店面信息</label>
									<div class="col-lg-8 col-sm-7">
											<input type="text" id="entity_name"  ng-keyup="clearGroupBrandEntity()" name="entity_name" class="form-control select_edit form_params" value=""/>
                                            <ul class="select_list">
                                                  <li ng-repeat="e in entitys"  ng-click='LoadEntityBrands(e)' val_code="{{e.entity_code}}" val_name="{{e.entity_name}}">{{e.entity_name}}({{e.entity_code}})</li>
                                            </ul>  
									</div>
								</div>
							</div>
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">开单日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range ">
											<input type="text" name="rocreatedate1" class="form-control form_params" id="rocreatedate1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'rocreatedate2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											 <input type="text" name="rocreatedate2" class="form-control form_params" id="rocreatedate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'rocreatedate1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label long_title"
										for="inputEmail1">上次进<br>厂日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range ">
											<input type="text" name="lastmaintaindate1" class="form-control form_params" id="lastmaintaindate1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'lastmaintaindate2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											 <input type="text" name="lastmaintaindate2" class="form-control form_params" id="lastmaintaindate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'lastmaintaindate1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">品牌</label>
									<div class="col-lg-8 col-sm-7">
										<select name="brand"  ng-model="ch_brand" class="form-control form_params">
											<option></option>
											<option  ng-repeat="b in brands"  value="{{b.brand_code}}">{{b.brand_name}}</option>
										</select>
									</div>
								</div>
							</div>

							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">车系</label>
									<div class="col-lg-8 col-sm-7">
										<select name="series" id="series_code" ng-model="$root.ch_serie" class="form-control form_params">
											<option></option>
											<option  ng-repeat="b in series" value="{{b.series_code}}">{{b.series_name}}</option>
										</select>
									</div>
								</div>
							</div>

							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">车型</label>
									<div class="col-lg-8 col-sm-7">
										<select name="model" id="model_code" class="form-control form_params">
											<option></option>
											<option  ng-repeat="b in $parent.models" value="{{b.model_code}}">{{b.model_name}}</option>
										</select>
									</div>
								</div>
							</div>
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label long_title" for="inputEmail1">车辆建<br>档日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range ">
											<input type="text" name="found_date1" class="form-control form_params" id="found_date1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'found_date2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											 <input type="text" name="found_date2" class="form-control form_params" id="found_date2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'found_date1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label long_title"
										for="inputEmail1">保修开<br>始日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range ">
											<input type="text" name="wrtbegindate1" class="form-control form_params" id="wrtbegindate1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'wrtbegindate2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											 <input type="text" name="wrtbegindate2" class="form-control form_params" id="wrtbegindate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'wrtbegindate1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">销售日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range ">
											<input type="text" name="salesdate1" class="form-control form_params" id="salesdate1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'salesdate2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											 <input type="text" name="salesdate2" class="form-control form_params" id="salesdate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'salesdate1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label long_title"
										for="inputEmail1">第一次进<br>厂日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range ">
											<input type="text" name="firstindate1" class="form-control form_params" id="firstindate1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'firstindate2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											 <input type="text" name="firstindate2" class="form-control form_params" id="firstindate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'firstindate1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">营运证日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range ">
											<input type="text" name="businessdate1" class="form-control form_params" id="businessdate1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'businessdate2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											 <input type="text" name="businessdate2" class="form-control form_params" id="businessdate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'businessdate1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>	
							</div>
							
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label long_title"
										for="inputEmail1">下次验<br>车日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range ">
											<input type="text" name="nextinsectdate1" class="form-control form_params" id="nextinsectdate2" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'nextinsectdate2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											 <input type="text" name="nextinsectdate2" class="form-control form_params" id="nextinsectdate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'nextinsectdate2\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">行驶里程</label>
									<div class="col-lg-8 col-sm-7">
										<input name="mileage1"  type="number" min="0" id="mileage1" class="form-control form_params">
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<input name="mileage2"  type="number" min="0" id="mileage2"  class="form-control form_params">
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">VIN</label>
									<div class="col-lg-8 col-sm-7">
										<input name="vin" type="text"  class="form-control form_params">
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">省份</label>
									<div class="col-lg-8 col-sm-7">
										<select name="provincestr" id="province" class="form-control form_params" ng-model="Province"  ng-change="loadCity(Province)" >
												<option></option>
												<option   ng-repeat="b in province" value="{{b.status_desc}}" val_code="{{b.status_code}}">{{b.status_desc}}</option>
										</select>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">城市</label>
									<div class="col-lg-8 col-sm-7">
										<select name="citystr" id="city" class="form-control form_params" ng-model="City"  ng-change="loadCountry(City)" >
												<option></option>
												<option   ng-repeat="b in city_sel" value="{{b.status_desc}}" val_code="{{b.status_code}}">{{b.status_desc}}</option>
										</select>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">区县</label>
									<div class="col-lg-8 col-sm-7">
										<select name="districtstr" id="country" class="form-control form_params">
												<option></option>
												<option   ng-repeat="b in country_sel" value="{{b.status_desc}}" val_code="{{b.status_code}}">{{b.status_desc}}</option>
										</select>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">本公司购车</label>
									<div class="col-lg-8 col-sm-7">
										<select name="is_self_company"  class="form-control form_params">
										    <option value=""></option>
											<option value="12781001">是</option>
											<option value="12781002">否</option>
										</select>
									</div>
								</div>
							</div>
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">是否激活</label>
									<div class="col-lg-8 col-sm-7">
										<select name="is_valid"  class="form-control form_params">
										    <option value=""></option>
											<option value="12781001">是</option>
											<option value="12781002">否</option>
										</select>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">送修人手机</label>
									<div class="col-lg-8 col-sm-7">
										<input name=deliverer_mobile type="text"  class="form-control form_params">
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">车主手机</label>
									<div class="col-lg-8 col-sm-7">
										<input name="mobile" type="text"  class="form-control form_params">
									</div>
								</div>
							</div>
							
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">联系人手机</label>
									<div class="col-lg-8 col-sm-7">
										<input name="contactor_mobile" type="text"  class="form-control form_params">
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">联系电话</label>
									<div class="col-lg-8 col-sm-7">
										<input name="contactor_phone" type="text"  class="form-control form_params">
									</div>
								</div>
							</div>
							
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">车牌号</label>
									<div class="col-lg-8 col-sm-7">
										<input name="license" type="text"  class="form-control form_params">
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">车主性质</label>
									<div class="col-lg-8 col-sm-7">
									        <select name="owner_property"  class="form-control form_params">
											    <option value=""></option>
												<option value="11901001">公司</option>
												<option value="11901002">个人</option>
											</select>
									</div>
								</div>
							</div>
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="sold_by">车主</label>
									<div class="col-lg-8 col-sm-7">
										<select id="owner_no" name="owner_no"  class="js-data-example-ajax form-control form_params ">
											 <option value="" selected="selected"></option>
										</select>
									</div>
								</div>
							</div>
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">发动机号</label>
									<div class="col-lg-8 col-sm-7">
										<input name="engine_no" type="text"  class="form-control form_params">
									</div>
								</div>
							</div>
						</div>
					</div>
				</section>

				<section class="panel">
					<!--区块头 显示表格名称和功能按钮-->
					<header class="panel-heading">
						车主车辆信息查询
						<headshow></headshow>
						<div class="option_check_list" style="display: inline-block;"></div>
						<!--控制按钮-->
						<span class="tools pull-right"> <!--收起--> <a
							href="javascript:;" class="fa fa-chevron-down"></a>
						</span>
						<div class="pull-right"
							style="margin-right: 10px; margin-top: -6px; display: inline-block">
							<button type="button" class="btn btn-danger btn-sm " href="#paramsSelect"
								data-toggle="modal">
								<i class="fa fa-plus"></i> 在结果集中筛选
							</button>
							<button type="button" class="btn btn-success btn-sm"
								id="search_table" ng-click="SearchData();">
								<i class="fa fa-search"></i> 查询表格
							</button>
						</div>
					</header>
					<!--区块body 显示表格内容-->
					<div class="panel-body form-horizontal ">

						<div class="adv-table" style="overflow-x: scroll">
							<table id="carownerTable"
								class="table table-striped  nowrap  dataTable no-footer table_store table-hover float_head"
								cellspacing="0" width="100%">
								<thead>
									<tr>
										<th ng-show="!cols.contains('index')" column="index">序号</th>
										<th ng-show="!cols.contains('entity_code')" column="entity_code">店面编号</th>
										<th ng-show="!cols.contains('entity_name')" column="entity_name">店面名称</th>
										<th ng-show="!cols.contains('entity_brand_name')" column="entity_brand_name">店面品牌</th>
										<th ng-show="!cols.contains('group_name')" column="group_name">事业部</th>
										<th ng-show="!cols.contains('vin')" column="vin">VIN</th>
										<th ng-show="!cols.contains('license')" column="license">车牌号</th>
										<th ng-show="!cols.contains('engine_no')" column="engine_no">发动机号</th>
										<th ng-show="!cols.contains('brand_name')" column="brand_name">品牌</th>
										<th ng-show="!cols.contains('series_name')" column="series_name">车系</th>
										<th ng-show="!cols.contains('model_name')" column="model_name">车型</th>
										<th ng-show="!cols.contains('apackage')" column="apackage">配置</th>
										<th ng-show="!cols.contains('model_year')" column="model_year">车型年</th>
										<th ng-show="!cols.contains('color_name')" column="color_name">颜色</th>
										<th ng-show="!cols.contains('service_advisorstr')" column="service_advisorstr">服务专员</th>
										<th qtype='bool' ng-show="!cols.contains('is_self_companystr')" column="is_self_companystr">是否本公司购车</th>
										<th ng-show="!cols.contains('sales_agent_name')" column="sales_agent_name">经销商</th>
										<th qtype='date' ng-show="!cols.contains('sales_date')" column="sales_date">销售日期</th>
										<th qtype='date' ng-show="!cols.contains('license_date')" column="license_date">上牌日期</th>
										<th qtype='double' ng-show="!cols.contains('mileage')" column="mileage">行驶里程</th>
										<th qtype='date' ng-show="!cols.contains('wrt_begin_date')" column="wrt_begin_date">保修起始日期</th>
										<th qtype='date' ng-show="!cols.contains('wrt_end_date')" column="wrt_end_date">保修结束日期</th>
										<th qtype='date' ng-show="!cols.contains('insurance_begin_date')" column="insurance_begin_date">保险起始日期</th>
										<th qtype='date' ng-show="!cols.contains('insurance_end_date')" column="insurance_end_date">保险到期日期</th>
										<th qtype='date' ng-show="!cols.contains('examine_expire_date')" column="examine_expire_date">年审到期日期</th>
										<th qtype='float' ng-show="!cols.contains('wrt_begin_mileage')" column="wrt_begin_mileage">保修起始里程</th>
										<th ng-show="!cols.contains('deliverer')" column="deliverer">送修人姓名</th>
										<th ng-show="!cols.contains('deliverer_genderstr')" column="deliverer_genderstr">送修人性别</th>
										<th ng-show="!cols.contains('deliverer_phone')" column="deliverer_phone">送修人电话</th>
										<th ng-show="!cols.contains('deliverer_mobile')" column="deliverer_mobile">送修人手机</th>
										<th ng-show="!cols.contains('deliverer_address')" column="deliverer_address">送修人地址</th>
										<th ng-show="!cols.contains('vehicleremark')" column="vehicleremark">车辆备注</th>
										<th ng-show="!cols.contains('owner_no')" column="owner_no">车主编号</th>
										<th ng-show="!cols.contains('owner_propertystr')" column="owner_propertystr">车主性质</th>
										<th ng-show="!cols.contains('owner_name')" column="owner_name">车主</th>
										<th ng-show="!cols.contains('genderstr')" column="genderstr">性别</th>
										<th ng-show="!cols.contains('industry_firststr')" column="industry_firststr">所属行业大类</th>
										<th ng-show="!cols.contains('indestry_secondstr')" column="indestry_secondstr">所属行业二类</th>
										<th ng-show="!cols.contains('provincestr')" column="provincestr">省份</th>
										<th ng-show="!cols.contains('citystr')" column="citystr">城市</th>
										<th ng-show="!cols.contains('districtstr')" column="districtstr">区县</th>
										<th ng-show="!cols.contains('address')" column="address">地址</th>
										<th ng-show="!cols.contains('zip_code')" column="zip_code">邮编</th>
										<th ng-show="!cols.contains('phone')" column="phone">电话</th>
										<th ng-show="!cols.contains('mobile')" column="mobile">手机</th>
										<th qtype='date' ng-show="!cols.contains('birthday')" column="birthday">出生日期</th>
										<th ng-show="!cols.contains('e_mail')" column="e_mail">E_MAIL</th>
										<th ng-show="!cols.contains('family_incomestr')" column="family_incomestr">家庭月收入</th>
										<th ng-show="!cols.contains('owner_marriagestr')" column="owner_marriagestr">婚姻状况</th>
										<th ng-show="!cols.contains('edulevelstr')" column="edulevelstr">学历</th>
										<th ng-show="!cols.contains('contactor_name')" column="contactor_name">联系人</th>
										<th ng-show="!cols.contains('contactor_genderstr')" column="contactor_genderstr">联系人性别</th>
										<th ng-show="!cols.contains('contactor_phone')" column="contactor_phone">联系人电话</th>
										<th ng-show="!cols.contains('contactor_mobile')" column="contactor_mobile">联系人手机</th>
										<th ng-show="!cols.contains('contactor_provincestr')" column="contactor_provincestr">联系人省份</th>
										<th ng-show="!cols.contains('contactor_citystr')" column="contactor_citystr">联系人城市</th>
										<th ng-show="!cols.contains('contactor_address')" column="contactor_address">联系人详细地址</th>
										<th ng-show="!cols.contains('contactor_zip_code')" column="contactor_zip_code">联系人邮编</th>
										<th ng-show="!cols.contains('remark')" column="remark">车主备注</th>
										<th qtype='date' ng-show="!cols.contains('last_maintain_date')" column="last_maintain_date">上次进厂日期</th>
										<th qtype='date' ng-show="!cols.contains('next_maintain_date')" column="next_maintain_date">预计下次保养日期</th>
										<th qtype='float' ng-show="!cols.contains('last_maintain_mileage')" column="last_maintain_mileage">上次维修里程</th>
										<th qtype='float' ng-show="!cols.contains('next_maintain_mileage')" column="next_maintain_mileage">下次保养里程</th>
										<th qtype='date' ng-show="!cols.contains('first_in_date')" column="first_in_date">第一次进厂日期</th>
										<th qtype='float' ng-show="!cols.contains('pre_pay')" column="pre_pay">预收款</th>
										<th qtype='float' ng-show="!cols.contains('arrearage_amount')" column="arrearage_amount">欠款金额</th>
										<th ng-show="!cols.contains('key_number')" column="key_number">钥匙号</th>
										<th ng-show="!cols.contains('hobby')" column="hobby">爱好</th>
										<th ng-show="!cols.contains('consultant')" column="consultant">销售顾问</th>
										<th qtype='date' ng-show="!cols.contains('business_date')" column="business_date">营运证日期</th>
										<th qtype='date' ng-show="!cols.contains('found_date')" column="found_date">车辆建档日期</th>
										<th ng-show="!cols.contains('ctcodestr')" column="ctcodestr">证件类型</th>
										<th ng-show="!cols.contains('certificate_no')" column="certificate_no">证件号码</th>
										<th ng-show="!cols.contains('insuration_name')" column="insuration_name">保险承保公司</th>
										<th ng-show="!cols.contains('repair_type_name')" column="repair_type_name">最近一次维修类型</th>
									</tr>
								</thead>
								<tbody>
									<tr ng-repeat="c in costReports" ng-style="setColor(c.isover)">
										<td ng-show="!cols.contains('index')" class="">{{$index + 1 }}</td>
										<td ng-show="!cols.contains('entity_code')" class="">{{c.entity_code}}</td>
										<td ng-show="!cols.contains('entity_name')" class="">{{c.entity_name}}</td>
										<td ng-show="!cols.contains('entity_brand_name')" class="">{{c.entity_brand_name}}</td>
										<td ng-show="!cols.contains('group_name')" class="">{{c.group_name}}</td>
										<td ng-show="!cols.contains('vin')" class="">{{c.vin}}</td>
										<td ng-show="!cols.contains('license')" class="">{{c.license}}</td>
										<td ng-show="!cols.contains('engine_no')" class="">{{c.engine_no}}</td>
										<td ng-show="!cols.contains('brand_name')" class="">{{c.brand_name}}</td>
										<td ng-show="!cols.contains('series_name')" class="">{{c.series_name}}</td>
										<td ng-show="!cols.contains('model_name')" class="">{{c.model_name}}</td>
										<td ng-show="!cols.contains('apackage')" class="">{{c.apackage}}</td>
										<td ng-show="!cols.contains('model_year')" class="">{{c.model_year}}</td>
										<td ng-show="!cols.contains('color_name')" class="">{{c.color_name}}</td>
										<td ng-show="!cols.contains('service_advisorstr')" class="">{{c.service_advisorstr}}</td>
										<td ng-show="!cols.contains('is_self_companystr')" class="">{{c.is_self_companystr}}</td>
										<td ng-show="!cols.contains('sales_agent_name')" class="">{{c.sales_agent_name}}</td>
										<td ng-show="!cols.contains('sales_date')" class="">{{c.sales_date | date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('license_date')" class="">{{c.license_date | date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('mileage')" class="">{{c.mileage|number:2}}</td>
										<td ng-show="!cols.contains('wrt_begin_date')" class="">{{c.wrt_begin_date | date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('wrt_end_date')" class="">{{c.wrt_end_date | date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('insurance_begin_date')" class="">{{c.insurance_begin_date | date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('insurance_end_date')" class="">{{c.insurance_end_date | date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('examine_expire_date')" class="">{{c.examine_expire_date | date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('wrt_begin_mileage')" class="">{{c.wrt_begin_mileage==null?(0.00|number:2):(c.wrt_begin_mileage|number:2)}}</td>
										<td ng-show="!cols.contains('deliverer')" class="">{{c.deliverer}}</td>
										<td ng-show="!cols.contains('deliverer_genderstr')" class="">{{c.deliverer_genderstr}}</td>
										<td ng-show="!cols.contains('deliverer_phone')" class="">{{c.deliverer_phone|mobile}}</td>
										<td ng-show="!cols.contains('deliverer_mobile')" class="">{{c.deliverer_mobile|mobile}}</td>
										<td ng-show="!cols.contains('deliverer_address')" class="">{{c.deliverer_address}}</td>
										<td ng-show="!cols.contains('vehicleremark')" class="">{{c.vehicleremark}}</td>
										<td ng-show="!cols.contains('owner_no')" class="">{{c.owner_no}}</td>
										<td ng-show="!cols.contains('owner_propertystr')" class="">{{c.owner_propertystr}}</td>
										<td ng-show="!cols.contains('owner_name')" class="">{{c.owner_name}}</td>
										<td ng-show="!cols.contains('genderstr')" class="">{{c.genderstr}}</td>
										<td ng-show="!cols.contains('industry_firststr')" class="">{{c.industry_firststr}}</td>
										<td ng-show="!cols.contains('indestry_secondstr')" class="">{{c.indestry_secondstr}}</td>
										<td ng-show="!cols.contains('provincestr')" class="">{{c.provincestr}}</td>
										<td ng-show="!cols.contains('citystr')" class="">{{c.citystr}}</td>
										<td ng-show="!cols.contains('districtstr')" class="">{{c.districtstr}}</td>
										<td ng-show="!cols.contains('address')" class="">{{c.address}}</td>
										<td ng-show="!cols.contains('zip_code')" class="">{{c.zip_code}}</td>
										<td ng-show="!cols.contains('phone')" class="">{{c.phone|mobile}}</td>
										<td ng-show="!cols.contains('mobile')" class="">{{c.mobile|mobile}}</td>
										<td ng-show="!cols.contains('birthday')" class="">{{c.birthday| date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('e_mail')" class="">{{c.e_mail}}</td>
										<td ng-show="!cols.contains('family_incomestr')" class="">{{c.family_incomestr}}</td>
										<td ng-show="!cols.contains('owner_marriagestr')" class="">{{c.owner_marriagestr}}</td>
										<td ng-show="!cols.contains('edulevelstr')" class="">{{c.edulevelstr}}</td>
										<td ng-show="!cols.contains('contactor_name')" class="">{{c.contactor_name}}</td>
										<td ng-show="!cols.contains('contactor_genderstr')" class="">{{c.contactor_genderstr}}</td>
										<td ng-show="!cols.contains('contactor_phone')" class="">{{c.contactor_phone|mobile}}</td>
										<td ng-show="!cols.contains('contactor_mobile')" class="">{{c.contactor_mobile|mobile}}</td>
										<td ng-show="!cols.contains('contactor_provincestr')" class="">{{c.contactor_provincestr}}</td>
										<td ng-show="!cols.contains('contactor_citystr')" class="">{{c.contactor_citystr}}</td>
										<td ng-show="!cols.contains('contactor_address')" class="">{{c.contactor_address}}</td>
										<td ng-show="!cols.contains('contactor_zip_code')" class="">{{c.contactor_zip_code}}</td>
										<td ng-show="!cols.contains('remark')" class="">{{c.remark}}</td>
										<td ng-show="!cols.contains('last_maintain_date')" class="">{{c.last_maintain_date | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('next_maintain_date')" class="">{{c.next_maintain_date | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('last_maintain_mileage')" class="">{{c.last_maintain_mileage==null?(0.00|number:2):(c.last_maintain_mileage|number:2)}}</td>
										<td ng-show="!cols.contains('next_maintain_mileage')" class="">{{c.next_maintain_mileage|number:2}}</td>
										<td ng-show="!cols.contains('first_in_date')" class="">{{c.first_in_date| date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('pre_pay')" class="">{{c.pre_pay|number:2}}</td>
										<td ng-show="!cols.contains('arrearage_amount')" class="">{{c.arrearage_amount|number:2}}</td>
										<td ng-show="!cols.contains('key_number')" column="ct_code">{{c.key_number}}</td>
										<td ng-show="!cols.contains('hobby')" column="hobby">{{c.hobby}}</td>
										<td ng-show="!cols.contains('consultant')" class="">{{c.consultant}}</td>
										<td ng-show="!cols.contains('business_date')" class="">{{c.business_date | date : 'yyyy-MM-dd'}}</td>
										<td ng-show="!cols.contains('found_date')" class="">{{c.found_date| date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('ctcodestr')" class="">{{c.ctcodestr}}</td>
										<td ng-show="!cols.contains('certificate_no')" class="">{{c.ctcodestr=='居民身份证'?(c.certificate_no|idcard):c.certificate_no}}</td>
										<td ng-show="!cols.contains('insuration_name')" class="">{{c.insuration_name}}</td>
										<td ng-show="!cols.contains('repair_type_name')" class="">{{c.repair_type_name}}</td>
									</tr>
								</tbody>
							</table>
							<div class="no-items" ng-show="pagination.totalItems <= 0">暂无数据</div>
						</div>
						<tm-pagination conf="pagination"></tm-pagination>
					</div>
				</section>
				<!--表格显示区域-->

			</div>
		</div>
	</div>
</div>

<form id="export_form" action="carowner/export"  method="post">
	<input type="hidden" name="keys" id="keys" />
	<input type="hidden" name="names" id="names" /> 
	<input type="hidden" name="params" id="params" />
	<input type="hidden" name="search_opt" id="search_opt" /> 
	<input type="hidden" name="file_name" id="file_name" value="车主车辆信息查询"/>
</form>



